package com.sudo.dao.admin.model.bo;

import com.sudo.common.utils.PageBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
@Data
@ApiModel(value = "shell任务参数")
@EqualsAndHashCode(callSuper = true)
public class SysShellJobBo extends PageBO {
    @ApiModelProperty(value="主键")
    private Integer id;

    @ApiModelProperty(value="状态")
    private String status;

    @ApiModelProperty(value="服务器")
    @NotBlank(message = "服务器不能为空")
    private String server;

    @ApiModelProperty(value="cron表达式")
    @NotBlank(message = "cron表达式不能为空")
    private String cronExpression;

    @ApiModelProperty(value="shell命令")
    @NotBlank(message = "shell命令不能为空")
    private String shell;

    @ApiModelProperty(value="remark")
    private String remark;

}
